projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422512f
)
babl: actually reverse preceding change
author
Øyvind Kolås
<pippin@gimp.org>
Fri, 8 Sep 2017 16:35:16 +0000
(18:35 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Fri, 8 Sep 2017 16:36:28 +0000
(18:36 +0200)
babl/babl-util.c
patch
|
blob
|
history
diff --git
a/babl/babl-util.c
b/babl/babl-util.c
index 9148aff6f5686ba303796df7a851c6800d648a61..01a5e978a6211d0a6fa230e99e367ade23b567a4 100644
(file)
--- a/
babl/babl-util.c
+++ b/
babl/babl-util.c
@@
-91,7
+91,7
@@
babl_rel_avg_error (const double *imgA,
for (i = 0; i < samples; i++)
error += fabs (imgA[i] - imgB[i]);
- if (error
<
= 0.000001)
+ if (error
>
= 0.000001)
error /= samples;
else
error = 0.0;